package com.japancompany.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.japancompany.common.PageQuery;
import com.japancompany.common.PageResult;

import java.util.List;

public interface FileService extends IService<com.japancompany.entity.File> {
    
    PageResult<com.japancompany.entity.File> getFilePage(PageQuery pageQuery, String fileName, String fileType);
    
    boolean saveFile(String fileName, String filePath, String fileType, Long fileSize);
    
    boolean deleteFile(Long id);
    
    List<com.japancompany.entity.File> getFilesByType(String fileType);
}